/*  
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.base.model;

import com.yunhoo.sys.util.common.LoginParam;

/**
 *
 * @author Administrator
 */
public class Invent implements java.io.Serializable {

    private String orgCode;
    private String id;//代码
    private InventType type;//类型
    private String name;//名称
    private String simplename;//简称
    private String measure;//单位
    private String model;//规格
    private String measureen;//英文单位
    private String descri;//商品描述
    int counttip = 0;//计数器
    private int sum = 0;//现存量
    private String showtype;
    private WareHouse warehouse;
    private WareHouse whposition;
    private boolean check = false;//是否选中
    private int safestocks;//安全库存量
    private int loweststocks;//最低库存量
    private int jcquantity;//结存数量
    private double jcamount;//结存金额
    private double amount;

    public Invent() {
        orgCode = LoginParam.getOrg().getCode();
        type = new InventType();
        warehouse = new WareHouse();
        whposition = new WareHouse();
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    public WareHouse getWhposition() {
        return whposition;
    }

    public void setWhposition(WareHouse whposition) {
        this.whposition = whposition;
    }

    public WareHouse getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(WareHouse warehouse) {
        this.warehouse = warehouse;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public String getMeasureen() {
        return measureen;
    }

    public void setMeasureen(String measureen) {
        this.measureen = measureen;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMeasure() {
        return measure;
    }

    public void setMeasure(String measure) {
        this.measure = measure;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public InventType getType() {
        return type;
    }

    public void setType(InventType type) {
        this.type = type;
    }

    public String getSimplename() {
        return simplename;
    }

    public void setSimplename(String simplename) {
        this.simplename = simplename;
    }

    public String getDescri() {
        return descri;
    }

    public void setDescri(String descri) {
        this.descri = descri;
    }

    public int getCounttip() {
        return counttip;
    }

    public void setCounttip(int counttip) {
        this.counttip = counttip;
    }

    public String getShowtype() {
        return showtype;
    }

    public void setShowtype(String showtype) {
        this.showtype = showtype;
    }

    public double getJcamount() {
        return jcamount;
    }

    public void setJcamount(double jcamount) {
        this.jcamount = jcamount;
    }

    public int getJcquantity() {
        return jcquantity;
    }

    public void setJcquantity(int jcquantity) {
        this.jcquantity = jcquantity;
    }

    public int getLoweststocks() {
        return loweststocks;
    }

    public void setLoweststocks(int loweststocks) {
        this.loweststocks = loweststocks;
    }

    public int getSafestocks() {
        return safestocks;
    }

    public void setSafestocks(int safestocks) {
        this.safestocks = safestocks;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
}
